from ronglian_sms_sdk import SmsSDK
import uuid

accId = '8aaf07087e3322ea017e714a4fd80b0f'
accToken = '1ba01f35275b40e592fe3c813e1f0ff0'
appId = '8aaf07087e3322ea017e714a50e90b16'


def send_message(mobile, code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = str(mobile)
    datas = (code, '1')
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)
    return resp

# send_message(17360631241,5201)
